package org.example.provider.domain;

/**
 * @Date: 2024/9/5
 * @Author: Administrator
 * @ClassName: Goods
 * @Description: 商品实体类
 */

public class Goods {
    private Integer goodsId;
    private String name;
    private Double price;
    private Integer Stock;

    public Goods() {
    }

    public Goods(Integer goodsId, String name, Double price, Integer stock) {
        this.goodsId = goodsId;
        this.name = name;
        this.price = price;
        Stock = stock;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStock() {
        return Stock;
    }

    public void setStock(Integer stock) {
        Stock = stock;
    }
}
